<!DOCTYPE html>
<html>
<head>
    <title>收订单列表，保存会员发生的交易订单。</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../../css/bootstrap.min.css">
    <link rel="stylesheet" href="../../css/font-awesome.min.css">
    <link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="../../css/main.css">
    <script src="../../libs/jquery.min.js"></script>
    <script src="../../plugins/layer/layer.js"></script>
    <script src="../../libs/bootstrap.min.js"></script>
    <script src="../../libs/vue.min.js"></script>
    <script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
    <script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
    <script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
    <script src="../../js/common.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <a v-if="hasPermission('generator:upktradesubgoodorder:save')" class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
            <a v-if="hasPermission('generator:upktradesubgoodorder:update')" class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
            <a v-if="hasPermission('generator:upktradesubgoodorder:delete')" class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
                                                                            <div class="form-group">
                        <div class="col-sm-2 control-label">交易主表ID，取值CATEGORY的ID(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.tradeOrderId" placeholder="交易主表ID，取值CATEGORY的ID(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">留存字段交易关联用户流水ID，取值USER的ID(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.userId" placeholder="留存字段交易关联用户流水ID，取值USER的ID(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">用户选择的支付方式的ID,取值表PAY_TOOL表(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.payToolId" placeholder="用户选择的支付方式的ID,取值表PAY_TOOL表(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">收货人的姓名,用户页面填写,默认取值表USER_ADDRESS(字符串空：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.consignee" placeholder="收货人的姓名,用户页面填写,默认取值表USER_ADDRESS(字符串空：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">收货人的固定电话,用户页面填写,默认取值表USER_ADDRESS(字符串空：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.tel" placeholder="收货人的固定电话,用户页面填写,默认取值表USER_ADDRESS(字符串空：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">收货人的手机,用户页面填写,默认取值表USER_ADDRESS(字符串空：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.mobile" placeholder="收货人的手机,用户页面填写,默认取值表USER_ADDRESS(字符串空：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">收货人的最佳送货时间,用户页面填写,默认取值表USER_ADDRESS(字符串空：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.bestTime" placeholder="收货人的最佳送货时间,用户页面填写,默认取值表USER_ADDRESS(字符串空：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">收货人的详细地址,用户页面填写,默认取值表USER_ADDRESS(字符串空：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.address" placeholder="收货人的详细地址,用户页面填写,默认取值表USER_ADDRESS(字符串空：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">发货物流单号(字符串空：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.shippingOrderId" placeholder="发货物流单号(字符串空：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">用户选择的配送方式ID,取值表SHIPPING(字符串空：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.shippingId" placeholder="用户选择的配送方式ID,取值表SHIPPING(字符串空：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">订单配送时间(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.shippingTime" placeholder="订单配送时间(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">订单应付款金额即商品总额加配送费加包装费等(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.orderAmount" placeholder="订单应付款金额即商品总额加配送费加包装费等(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">商品的总金额(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.goodsAmount" placeholder="商品的总金额(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">配送费用即外卖系统比较重要(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.shippingFee" placeholder="配送费用即外卖系统比较重要(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">包装费用即点餐打包费外卖系统比较重要(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.packFee" placeholder="包装费用即点餐打包费外卖系统比较重要(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">保价费用(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.insureFee" placeholder="保价费用(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">留存字段优惠方式标识即优惠类型，即红包ID, USER_BONUS的BONUS_ID(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.bonusTypeId" placeholder="留存字段优惠方式标识即优惠类型，即红包ID, USER_BONUS的BONUS_ID(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">优惠类型，即红包ID, USER_BONUS的BONUS_ID(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.bonusId" placeholder="优惠类型，即红包ID, USER_BONUS的BONUS_ID(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">优惠额度，即使用红包抵扣的金额(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.bonusMoney" placeholder="优惠额度，即使用红包抵扣的金额(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">订单状态(数字0：未插入，1已确认; 2已取消; 3无效; 4退货)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.orderStatus" placeholder="订单状态(数字0：未插入，1已确认; 2已取消; 3无效; 4退货)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">单个商品评分(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.score" placeholder="单个商品评分(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">商品数量(数字0：未插入，1.是,2：否，)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.goodsNumber" placeholder="商品数量(数字0：未插入，1.是,2：否，)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">操作员(字符串空：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.operator" placeholder="操作员(字符串空：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">创建即上传时间(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.createUtc" placeholder="创建即上传时间(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">修改即更新时间(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.modifyUtc" placeholder="修改即更新时间(数字0：未插入)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">是否删除(数字0：未插入，1.未删除,2：删除，)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.isDeleted" placeholder="是否删除(数字0：未插入，1.未删除,2：删除，)"/>
                        </div>
                    </div>
                                                                <div class="form-group">
                        <div class="col-sm-2 control-label">版本号(数字0：未插入)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="upkTradeSubGoodOrder.version" placeholder="版本号(数字0：未插入)"/>
                        </div>
                    </div>
                                        <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="../../js/modules/generator/upktradesubgoodorder.js"></script>
</body>
</html>